package com.fumihiko.modules.ca.service;



import com.fumihiko.modules.ca.vo.UserTokenVo;

import java.util.List;

public interface UserTokenService {

    /**
     * 获取TOKEN业务方法
     * @param appId
     * @param appSecret
     * @return
     */
    public String getToken(String appId, String appSecret, String timestamp) throws Exception;

    public UserTokenVo getUserTokenVoObjByAccessToken(String accessToken) ;

    public void deleteUserTokenVoObj(String appId, String appSecret, String accessToken);

    public void insertUserTokenObj(UserTokenVo userTokenVo);

    public List<UserTokenVo> getUserTokenVoObj(String appId, String appSecret);

    public void updateUserTokenVoAreaCode(String areaCode, String accessToken,String sign);

    public List<UserTokenVo> getUserTokenList();
}
